import tools from "@/common/tools";


const API_PRE = "http://localhost:3000";

// 广告banner 
export const adsReq = (data) => tools.request({
    url: `${API_PRE}/ads/banner`,
    params: data
})

//获取城市列表
export const airportCityListReq = (data) => tools.request({
    url: `${API_PRE}/city/airportList`,
    params: data
})

// 航班列表
export const flightListReq = (data) => tools.request({
    url: `${API_PRE}/list/singleList`,
    params: data,
})

